using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Timeline;

public class DragSkill : MonoBehaviour, ITimeControl
{
    public void OnControlTimeStart()
    {
        var obj = Instantiate(Resources.Load<DragObj>("Drag/DartPin3B_MidPoly"));
        obj.transform.position = DragGameMgr.Ins.player.transform.position + Vector3.up * 0.5f;
        obj.SetPos(DragGameMgr.Ins.pos);
    }

    public void OnControlTimeStop()
    {
        DragGameMgr.Ins.IsOnClick = true;
    }

    public void SetTime(double time)
    {

    }

    // Start is called before the first frame update
    void Start()
    {

    }

    // Update is called once per frame
    void Update()
    {

    }
}
